package com.hzy.fivepalace.db.dao.ex;


import com.hzy.fivepalace.db.vo.wx.WxUserTeamVo;
import org.springframework.data.repository.query.Param;


import java.math.BigDecimal;
import java.util.List;

public interface DtsUserMapperEx {


    /**
     * 获取用户团队列表
     * @param userId
     * @return
     */
    List<WxUserTeamVo> getUserTeamList(Integer userId);


    /**
     * 添加用户佣金
     * @param userId
     * @param commission
     * @return
     */
    int addUserCommission(@Param("userId")Integer userId, @Param("commission") BigDecimal commission);
}
